package com.framework.bdf4j.msg.service.impl;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.framework.bdf4j.msg.entity.domain.SysMsgResult;
import com.framework.bdf4j.msg.entity.vo.SysMsgResultReceiverVO;
import com.framework.bdf4j.msg.mapper.SysMsgResultMapper;
import com.framework.bdf4j.msg.service.SysMsgResultService;
import org.springframework.stereotype.Service;

/**
 * 消息发送服务
 *
 * @author shan.deng
 * @date 2020-07-15 16:06:43
 */
@Service
public class SysMsgResultServiceImpl extends ServiceImpl<SysMsgResultMapper, SysMsgResult> implements SysMsgResultService {

    @Override
    public IPage<SysMsgResultReceiverVO> getMessagesById(Page page, Integer msgId) {
        return this.getBaseMapper().getMsgResultById(page,msgId);
    }
}
